package com.easidea.tim.test.service.inventory;

import java.util.List;

import org.junit.Test;

import com.easidea.tim.entity.inventory.StorageHistory;
import com.easidea.tim.service.inventory.StorageHistoryService;
import com.easidea.tim.test.SpringIntegrationTestCase;

public class StorageHistoryServiceTestCase extends SpringIntegrationTestCase {
	
	private StorageHistoryService storageHistoryService;

	@Test
	public void testGetStorageHistoryList() {
		assertNotNull(storageHistoryService);
		List<StorageHistory> shList = storageHistoryService.getStorageHistoryList("at001sy","822a", false, null,null);
		assertNotNull(shList);
		assertTrue(shList.size()>0);
	}

	/**
	 * @return the storageHistoryService
	 */
	public StorageHistoryService getStorageHistoryService() {
		return storageHistoryService;
	}

	/**
	 * @param storageHistoryService the storageHistoryService to set
	 */
	public void setStorageHistoryService(StorageHistoryService storageHistoryService) {
		this.storageHistoryService = storageHistoryService;
	}

}
